package deweb.cimaplanning.dto;

public class POCosts {
	protected int purchaseOrderVersionId;
	protected String code;
	protected String codeLetter;
	protected int codeNumber;
	protected String cornCode;
	protected String cornDescription;
	protected String cornOriginId;
	protected int biweekPeriodVersionId;
	protected int monthPeriodVersionId;
	protected double amount;
	protected double capacity;
	
	public POCosts(){
		
	}

	/**
	 * @return the purchaseOrderVersionId
	 */
	public int getPurchaseOrderVersionId() {
		return purchaseOrderVersionId;
	}



	/**
	 * @param purchaseOrderVersionId the purchaseOrderVersionId to set
	 */
	public void setPurchaseOrderVersionId(int purchaseOrderVersionId) {
		this.purchaseOrderVersionId = purchaseOrderVersionId;
	}



	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}



	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}



	/**
	 * @return the codeLetter
	 */
	public String getCodeLetter() {
		return codeLetter;
	}



	/**
	 * @param codeLetter the codeLetter to set
	 */
	public void setCodeLetter(String codeLetter) {
		this.codeLetter = codeLetter;
	}



	/**
	 * @return the codeNumber
	 */
	public int getCodeNumber() {
		return codeNumber;
	}



	/**
	 * @param codeNumber the codeNumber to set
	 */
	public void setCodeNumber(int codeNumber) {
		this.codeNumber = codeNumber;
	}



	/**
	 * @return the cornCode
	 */
	public String getCornCode() {
		return cornCode;
	}



	/**
	 * @param cornCode the cornCode to set
	 */
	public void setCornCode(String cornCode) {
		this.cornCode = cornCode;
	}



	/**
	 * @return the cornDescription
	 */
	public String getCornDescription() {
		return cornDescription;
	}



	/**
	 * @param cornDescription the cornDescription to set
	 */
	public void setCornDescription(String cornDescription) {
		this.cornDescription = cornDescription;
	}



	/**
	 * @return the cornOriginId
	 */
	public String getCornOriginId() {
		return cornOriginId;
	}



	/**
	 * @param cornOriginId the cornOriginId to set
	 */
	public void setCornOriginId(String cornOriginId) {
		this.cornOriginId = cornOriginId;
	}



	/**
	 * @return the biweekPeriodVersionId
	 */
	public int getBiweekPeriodVersionId() {
		return biweekPeriodVersionId;
	}



	/**
	 * @param biweekPeriodVersionId the biweekPeriodVersionId to set
	 */
	public void setBiweekPeriodVersionId(int biweekPeriodVersionId) {
		this.biweekPeriodVersionId = biweekPeriodVersionId;
	}



	/**
	 * @return the monthPeriodVersionId
	 */
	public int getMonthPeriodVersionId() {
		return monthPeriodVersionId;
	}



	/**
	 * @param monthPeriodVersionId the monthPeriodVersionId to set
	 */
	public void setMonthPeriodVersionId(int monthPeriodVersionId) {
		this.monthPeriodVersionId = monthPeriodVersionId;
	}



	/**
	 * @return the amount
	 */
	public double getAmount() {
		return amount;
	}



	/**
	 * @param amount the amount to set
	 */
	public void setAmount(double amount) {
		this.amount = amount;
	}



	/**
	 * @return the capacity
	 */
	public double getCapacity() {
		return capacity;
	}



	/**
	 * @param capacity the capacity to set
	 */
	public void setCapacity(double capacity) {
		this.capacity = capacity;
	}
	
	public void concatCodes(){
//		StringU
	}



	/**
	 * Method 'toString'
	 * 
	 * @return String
	 */
	public String toString()
	{
		StringBuffer ret = new StringBuffer();
		ret.append( "deweb.cimaplanning.dto.POCosts: " );
		ret.append( "purchaseOrderVersionId=" + purchaseOrderVersionId );
		ret.append( ", code=" + code );
		ret.append( ", codeLetter=" + codeLetter );
		ret.append( ", codeNumber=" + codeNumber );
		ret.append( ", cornCode=" + cornCode );
		ret.append( ", cornDescription=" + cornDescription );
		ret.append( ", cornOriginId=" + cornOriginId );
		ret.append( ", biweekPeriodVersionId=" + biweekPeriodVersionId );
		ret.append( ", monthPeriodVersionId=" + monthPeriodVersionId );
		ret.append( ", amount=" + amount );
		ret.append( ", capacity=" + capacity );
		return ret.toString();
	}
}